package com.dengzhuo.server;

import com.dengzhuo.api.HelloObject;
import com.dengzhuo.api.HelloService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author 阿卓
 * @version 1.0
 * @date 2021/3/9 0009 11:51
 */
public class HelloServiceImpl implements HelloService {
    private static final Logger logger = LoggerFactory.getLogger(HelloServiceImpl.class);

    @Override
    public String hello(HelloObject object) {
        logger.info("接收到消息：{}", object.getMessage());
        return "这是Impl1方法";
    }
}
